/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
    body {
        font-family: Times New Roman;
        color: antiquewhite;
        background-image: url("../../src images/when two worlds collide.jpg");
        line-height: 1.6;
    }

    header {
        background: #dfe5c3;
        color: #dda44fd3;
        padding: 1rem 0;
        text-align: center;
        position: static;
        bottom: 50px;
    }

    nav {
        background: #7f3e09;
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        color: #dda44fd3;
     }

    nav a {
        color: #dda44fd3;
        text-decoration: none;
        margin: 0 1rem;
        }
    nav a:hover,
    .dropdown .dropbtn:hover {
        text-decoration: underline;
        color: antiquewhite;
    }

    main {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
footer {
        background: #7f3e09;
        color: #dda44fd3;
        text-align: center;
        padding: 1rem;
        margin-top: 2rem;
    }


/* Dropdown container */
    .dropdown {
        position: relative;
    }

/* Dropdown button */
    .dropdown .dropbtn {
        font-size: 16px;
        font-family: Times New Roman;
        border: none;
        outline: none;
        color: #dda44fd3;
        padding: 14px 20px;
        background-color: transparent;
        cursor: pointer;
    }

    .dropdown:hover .dropbtn {
       background-color: rgba(0, 0, 0, 0.15);
        border-radius: 4px;
    }

/* Dropdown content (hidden by default) */
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #7f3e09;
        min-width: 160px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 1;
    }

/* Links inside dropdown */
    .dropdown-content a {
        float: none;
        color: #dda44fd3;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }
    .dropdown-content a:hover {
        background-color: #251507;
        color: #dfe5c3;
    }

/* Show dropdown on hover */
    .dropdown:hover .dropdown-content {
        display: block;
    }
/*Ability file*/
.entropic abilities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.entropic-class {
    width: 100%;
    text-align: center;
    margin: 2rem;
    font-size: 1.5rem;
}
.entropic-wielder {
    width:100%;
    text-align: center;
    margin: 1rem;
    font-size: 17px;
}

.greeting {
    padding: 2rem;
}
.card {
  font-family: 'Heebo';
  --bg-filter-opacity: 0.5; 
  background-image: linear-gradient(rgba(0,0,0,var(--bg-filter-opacity)),rgba(0,0,0,var(--bg-filter-opacity))), var(--bg-img);
  width: 10em;
  height: 14em;
  font-size: 1.5em;
  color: white;
  border-radius: 1em;
  padding: 1em;
  margin: 2em;
  display: flex;
  align-items: flex-end;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 5em -1em black;
  transition: all, var(--transition-time);
  position: relative;
  overflow: hidden;
  border: 10px solid #251507;
  text-decoration: none;
}
.card:hover {
  --bg-filter-opacity: 0.2;
  transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card .date {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75em;
  padding: 1em;
  line-height: 1em;
  opacity: .8;
}
.card h1 {
    margin: .5em;
    font-size: 1em;
    line-height: 1em;
}

.card p {
    font-size: 0.75em;
    font-family: 'Times New Roman', serif;
    margin-top: 0.2em;
    line-height: 1.5em;
}
.card .tags {
    display: flex;
}

.card .tags .tag {
    font-size: 0.5em;
    background: rgba(255,255,255,0.5);
    border-radius: 0.3rem;
    padding: 0 .5em;
    margin-right: 1em;
    line-height: 1.5em;
    transition: all, var(--transition-time);
}

.locked {
    --bg-img: url("../../src images/locked.jpg")
}
.aiden{
    --bg-img: url("../../src images/hinoxchain.jpg")
}
.keldri {
    --bg-img: url("../../src images/entropic creation.jpg")
}
.rania {
    --bg-img: url("../../src images/kineticpoe.jpg")
}
.xavier {
    --bg-img: url("../../src images/entropic destruction.jpg")
}
